Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
3D Viewer Routines / Creating and Configuring Viewers


Q3ViewerUseData

You can use the Q3ViewerUseData function to set the memory-based data displayed in a viewer object.

OSErr Q3ViewerUseData (
TQ3ViewerObject theViewer, 
void *data, 
long size);
theViewer
A viewer object.
data
A pointer to the beginning of a block of data in memory.
size
The size, in bytes, of the specified block of data.
DESCRIPTION
The Q3ViewerUseData function sets the 3D data to be displayed in the viewer object specified by the theViewer parameter to the data block beginning at the address specified by the data parameter and having the size specified by the size parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996